package com.leanit.pmc.center.enterprise;

import com.leanit.pmc.common.util.SqlType;
import org.springframework.web.multipart.MultipartFile;

import java.util.Arrays;

/**
 * 企业信息VO
 */
public class EnterPriseInfo {

    @SqlType(defaultValue = "s_sys_enterprise_info.nextval")
    private String id;
    private String name;
    //private String property;
//    private String type;
    private String organizationId;
    private String businessId;
    private String taxId;
    private String contact;
    private String phone;
    private String idNo;
    private String postcode;
    private String address;
    private String mail;
    private String crCode;
    private String customsCode;
    private String declRegNo;
    private byte[] businessBlob;
    private byte[] taxBlob;
    private byte[] organizationBlob;
    private String businessName;
    private String taxName;
    private String organizationName;
    private String distinctSign;

    public String getDistinctSign() {
        return distinctSign;
    }

    public void setDistinctSign(String distinctSign) {
        this.distinctSign = distinctSign;
    }

    private String operateUser;

    @SqlType(type = "date", format = "yyyy-mm-dd hh24:mi:ss")
    private String operateTime;

    @SqlType(inTable = false)
    private MultipartFile businessLicense;
    @SqlType(inTable = false)
    private MultipartFile taxLicense;
    @SqlType(inTable = false)
    private MultipartFile organizationLicense;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getTaxId() {
        return taxId;
    }

    public void setTaxId(String taxId) {
        this.taxId = taxId;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getCrCode() {
        return crCode;
    }

    public void setCrCode(String crCode) {
        this.crCode = crCode;
    }

    public String getCustomsCode() {
        return customsCode;
    }

    public void setCustomsCode(String customsCode) {
        this.customsCode = customsCode;
    }

    public String getDeclRegNo() {
        return declRegNo;
    }

    public void setDeclRegNo(String declRegNo) {
        this.declRegNo = declRegNo;
    }

    public byte[] getBusinessBlob() {
        return businessBlob;
    }

    public void setBusinessBlob(byte[] businessBlob) {
        this.businessBlob = businessBlob;
    }

    public byte[] getTaxBlob() {
        return taxBlob;
    }

    public void setTaxBlob(byte[] taxBlob) {
        this.taxBlob = taxBlob;
    }

    public byte[] getOrganizationBlob() {
        return organizationBlob;
    }

    public void setOrganizationBlob(byte[] organizationBlob) {
        this.organizationBlob = organizationBlob;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getTaxName() {
        return taxName;
    }

    public void setTaxName(String taxName) {
        this.taxName = taxName;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public MultipartFile getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(MultipartFile businessLicense) {
        this.businessLicense = businessLicense;
    }

    public MultipartFile getTaxLicense() {
        return taxLicense;
    }

    public void setTaxLicense(MultipartFile taxLicense) {
        this.taxLicense = taxLicense;
    }

    public MultipartFile getOrganizationLicense() {
        return organizationLicense;
    }

    public void setOrganizationLicense(MultipartFile organizationLicense) {
        this.organizationLicense = organizationLicense;
    }

    public String getOperateUser() {
        return operateUser;
    }

    public void setOperateUser(String operateUser) {
        this.operateUser = operateUser;
    }

    public String getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(String operateTime) {
        this.operateTime = operateTime;
    }

    @Override
    public String toString() {
        return "EnterPriseInfo{" +
                ", id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", organizationId='" + organizationId + '\'' +
                ", businessId='" + businessId + '\'' +
                ", taxId='" + taxId + '\'' +
                ", contact='" + contact + '\'' +
                ", phone='" + phone + '\'' +
                ", postcode='" + postcode + '\'' +
                ", address='" + address + '\'' +
                ", mail='" + mail + '\'' +
                ", crCode='" + crCode + '\'' +
                ", customsCode='" + customsCode + '\'' +
                ", declRegNo='" + declRegNo + '\'' +
                ", businessBlob=" + Arrays.toString(businessBlob) +
                ", taxBlob=" + Arrays.toString(taxBlob) +
                ", organizationBlob=" + Arrays.toString(organizationBlob) +
                ", businessName='" + businessName + '\'' +
                ", taxName='" + taxName + '\'' +
                ", organizationName='" + organizationName + '\'' +
                '}';
    }
}